package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 景区每日收入对象 scenic_daily_income
 *
 * @author zjw
 * @date 2023-09-21
 */
public class ScenicDailyIncome extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long incomeId;

    /**
     * 所属的景区id
     */
    @Excel(name = "所属的景区id")
    private Long scenicId;

    /**
     * 当日总收入(当日订单费用收入+当日订单押金收入+...)
     */
    @Excel(name = "当日总收入(当日订单费用收入+当日订单押金收入+...)")
    private BigDecimal totalIncome;

    /**
     * 当日订单费用收入
     */
    @Excel(name = "当日订单费用收入")
    private BigDecimal orderFeeIncome;

    /**
     * 当日订单押金收入
     */
    @Excel(name = "当日订单押金收入")
    private BigDecimal orderDepositIncome;

    public ScenicDailyIncome() {
    }

    public ScenicDailyIncome(Long scenicId, Date createTime) {
        this.scenicId = scenicId;
        this.createTime = createTime;
    }

    public void setIncomeId(Long incomeId) {
        this.incomeId = incomeId;
    }

    public Long getIncomeId() {
        return incomeId;
    }

    public void setScenicId(Long scenicId) {
        this.scenicId = scenicId;
    }

    public Long getScenicId() {
        return scenicId;
    }

    public void setTotalIncome(BigDecimal totalIncome) {
        this.totalIncome = totalIncome;
    }

    public BigDecimal getTotalIncome() {
        return totalIncome;
    }

    public void setOrderFeeIncome(BigDecimal orderFeeIncome) {
        this.orderFeeIncome = orderFeeIncome;
    }

    public BigDecimal getOrderFeeIncome() {
        return orderFeeIncome;
    }

    public void setOrderDepositIncome(BigDecimal orderDepositIncome) {
        this.orderDepositIncome = orderDepositIncome;
    }

    public BigDecimal getOrderDepositIncome() {
        return orderDepositIncome;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("incomeId", getIncomeId())
                .append("scenicId", getScenicId())
                .append("totalIncome", getTotalIncome())
                .append("orderFeeIncome", getOrderFeeIncome())
                .append("orderDepositIncome", getOrderDepositIncome())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
